package com.yuju.group.dao.entity;

import com.yuju.persist.base.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;

public class OwnerCustom extends BaseEntity implements Serializable {
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为grp_owner_custom.id
     */
    private String id;
    
    private String myHotelId;
    
    private String empName;

    /**
     *  名称。,所属表字段为grp_owner_custom.name
     */
    private String name;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为grp_owner_custom.hotel_id
     */
    private String hotelId;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为grp_owner_custom.group_id
     */
    private String groupId;

    /**
     *  销售员。外键，引用员工信息表（grp_employee）的主键（id）。,所属表字段为grp_owner_custom.sale_id
     */
    private String saleId;

    /**
     *  联系电话。,所属表字段为grp_owner_custom.phone
     */
    private String phone;

    /**
     *  地址。,所属表字段为grp_owner_custom.address
     */
    private String address;

    /**
     *  简介，限制2000个字符。,所属表字段为grp_owner_custom.info
     */
    private String info;

    /**
     *  是否逻辑删除。0表示未删除，1表示已逻辑删除。,所属表字段为grp_owner_custom.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为grp_owner_custom.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为grp_owner_custom.gmt_modified
     */
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", hotelId=").append(hotelId);
        sb.append(", groupId=").append(groupId);
        sb.append(", saleId=").append(saleId);
        sb.append(", phone=").append(phone);
        sb.append(", address=").append(address);
        sb.append(", info=").append(info);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append("]");
        return sb.toString();
    }

	public String getMyHotelId() {
		return myHotelId;
	}

	public void setMyHotelId(String myHotelId) {
		this.myHotelId = myHotelId;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}
}